package com.bwie.service;

import com.bwie.service.impl.UserFeignServiceImpl;
import com.bwie.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author: 秋晚
 * @Date: 2025/7/10 13:57
 * @Description:
 **/
@FeignClient(name = "server-repairs-user",fallback = UserFeignServiceImpl.class)
public interface UserFeignService {

    @PostMapping("/user/index/getUserById/{id}")
    public R getUserById(@PathVariable(name = "id") Long id);

}
